import { Card, Row } from 'antd'

export const PageTools = ({ before, after }) => {
  return (
    <Card size="small" style={{ marginBottom: '20px' }}>
      <Row justify="space-between" align="middle">
        {before}
        {after}
      </Row>
    </Card>
  )
}
